/*
 * @Descripttion: 
 * @version: V1.0.0
 * @Author: LeonHe
 * @Date: 2021-10-01 02:37:16
 * @LastEditTime: 2021-10-23 12:41:06
 */

#ifndef __ADC_H_
#define __ADC_H_

#include "stm8s.h"

#define ADC_CHANNEL_NUM_MAX 5

extern uint16_t gAdcValueRaw[ADC_CHANNEL_NUM_MAX];

void adcInit(void);
void adcEocHandler(void);
uint8_t adcLowPower(void);

#endif


